const state = {
       tableData:[]
}

const getters = {

}

const mutations={
       add(state:any,data:any) {
              state.tableData=data
       },
       shousuo(state:any,data:any){
              state.tableData=data
       }

}

const actions={
       add(context:any,data:any) {
              context.commit("add", data);
       }
}

export default {
       state,
       mutations,
       actions,
       getters
}